package com.yunnuo.system.domain;

import java.io.Serializable;

/**
 * 用户角色表
 * Created by 魏洪福(15064000912@163.com) on  2018/5/25.
 */
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    private Integer id;
    // 用户ID
    private Integer userId;
    // 角色ID
    private Integer  roleId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }
}
